package com.example.test.serial;

public class Producer {

    public static void main(String[] args) {
        Person person = new Person();
        person.setName("测试");
        //序列化，保存到磁盘上
        SerializationUtils.writeObject(person);
    }
}
